package com.xt.base.model.dictionary;

/**
 * 桌面项 <br>
 * <br>
 * 
 * <p>
 * <a href="DesktopItem.java.html"><i>查看源文件</i></a>
 * </p>
 * 
 * @author 杨洪波
 * @version $Revision: $<br>
 *          $Id: $ 
 * @hibernate.subclass name="DesktopItem" discriminator-value="DesktopItem"
 */
public class DesktopItem extends BaseDictionary{
	private static final long serialVersionUID = -2141398552281519867L;
	
	/**生成该桌面项的url*/
	private String url;
	
	/**该桌面项在桌面上的位置*/
	private String position;
	
	/**
	 * @hibernate.property column="Url"
	 * @return 生成该桌面项的url
	 */
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @hibernate.property column="Position"
	 * @return 该桌面项在桌面上的位置
	 */
	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
	
	public DesktopItem(){
		super();
	}
	
	public DesktopItem(String name){
		super(name);
	}
	
	public DesktopItem(String name,String nationalCode){
		super(name,nationalCode);
	}
	
	public DesktopItem(String name,String nationalCode,DesktopItem superior){
		super(name,nationalCode);
		this.superior = superior;
	}
	public DesktopItem(String name,String nationalCode,String url,String position,DesktopItem superior){
		super(name,nationalCode);
		this.superior = superior;
		this.url=url;
		this.position=position;
	}
}
